<%@ include file="../layouts/_header.jsp"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<form
	action="<j:uri controller="service" action="update" id="${service.id}"/>"
	method="post" id="updateForm">

<table border="0" cellspacing="1" cellpadding="0" class="addTable">
	<tr>
		<td class="title">ContextPath:</td>
		<td class="content"><input type="text" name="contextPath"
			value="${service.contextPath}" /> <c:if
			test="${service.errorMessages['contextPath']!=null}">
			<span>${service.errorMessages['contextPath']} </span>
		</c:if></td>
		<td class="title">Name:</td>
		<td class="content"><input type="text" name="name"
			value="${service.name}" /> <c:if
			test="${service.errorMessages['name']!=null}">
			<span>${service.errorMessages['name']} </span>
		</c:if></td>
	</tr>
	<tr>
		<td class="title">Version:</td>
		<td class="content"><input type="text" name="version"
			value="${service.version}" /> <c:if
			test="${service.errorMessages['version']!=null}">
			<span>${service.errorMessages['version']} </span>
		</c:if></td>
		<td class="title"></td>
		<td class="content"></td>
	</tr>
	<tr>
		<td class="title">Updated At</td>
		<td class="content">${service.updatedAt}</td>
		<td class="title">Created At</td>
		<td class="content">${service.createdAt}</td>
	</tr>
	<tr>
		<td colspan="4" class="footer" align="center"><input
			type="hidden" name="id" value="${service.id}" /> <input
			type="button" class="button"
			value="<fmt:message key="form.button.update"/>"
			onclick="javascript:j.post(j('#updateForm').attr('action'),j('#updateForm').serializeArray(),function(msg){},'script')" />
		<input type="button" class="button"
			value="<fmt:message key="form.button.concel"/>"
			onclick="javascript:j.window({id:'edit_service'}).hide()" /></td>
	</tr>
</table>

</form>
